﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Abstract_Factory
{
    public abstract class Engine
    {
        public double Price;
        public string Description;
    }

    public abstract class Wheels
    {
        public double Price;
        public string Description;
    }

    public class ExpensiveEngine : Engine
    {
        public ExpensiveEngine()
        {
            Price = 2500.00;
            Description = "heule dure motor";
        }
    }

    public class CheapEngine : Engine
    {
        public CheapEngine()
        {
            Price = 500.00;
            Description = "heule goedkope motor";
        }
    }

    public class ExpensiveWheels : Wheels
    {
        public ExpensiveWheels()
        {
            Price = 450.00;
            Description = "heule dure wielen!!!";
        }
    }

    public class CheapWheels : Wheels
    {
        public CheapWheels()
        {
            Price = 100.00;
            Description = "heule goedkope wielen!!!";
        }
    }
}
